@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

# Allows us to use all .cmake files in this directory
# required for `find_dependency({SCOTCH,VTK}) to work.
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_LIST_DIR}")

if("@SCOTCH_FOUND@" AND NOT "@USE_SCOTCH@" MATCHES OFF)
  find_dependency(SCOTCH)
endif()

if("@VTK_FOUND@" AND NOT "@USE_VTK@" MATCHES OFF)
  find_dependency(VTK)
endif()

if (NOT TARGET Mmg::mmg )
  include(${CMAKE_CURRENT_LIST_DIR}/MmgTargets.cmake)
endif ()
